﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Model
{
    public class ActiveInfo
    {
        #region Model
        private int _id;
        private int _userid;
        private string _name = "";
        private string _img = "";
        private string _ewm = "";
        private string _link = "";
        private string _mobile = "";
        private string _context = "";
        private int _moneytype;
        private int _count;
        private int _takecount;
        private float _onemoney;
        private float _allmoney;
        private float _takemoney;
        private int _prizetype;
        private int _range;
        private string _province = "";
        private string _city = "";
        private string _area = "";
        private float _metre;
        private double _lat;
        private double _lng;
        private string _address = "";
        private int _state;
        private int _clickcount;
        private int _sharecount;
        private int _praisecount;
        private string _linktext = "";
        private int _degree;
        private int _flag;
        private int _isauto;
        private int _prizecount;
        private int _activetype;
        private int _needcount;
        private string _prizeimg = "";
        private string _skiplink = "";
        private int _giftcount;
        private int _takegiftcount;
        private string _weixin = "";
        private int _sex;
        public string _keyword = "";
        private int _showover = 0;
        private DateTime _createdate;

        //拓展字段
        public string StateText = "";
        public string PrizeTypeText = "";
        public string NickName = "";
        public string IDPwd = "";
        
        /// <summary>
        /// 
        /// </summary>
        public int ID
        {
            set { _id = value; }
            get { return _id; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int UserID
        {
            set { _userid = value; }
            get { return _userid; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string Name
        {
            set { _name = value; }
            get { return _name; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string Img
        {
            set { _img = value; }
            get { return _img; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string Ewm
        {
            set { _ewm = value; }
            get { return _ewm; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string Link
        {
            set { _link = value; }
            get { return _link; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string Mobile
        {
            set { _mobile = value; }
            get { return _mobile; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string Context
        {
            set { _context = value; }
            get { return _context; }
        }
        /// <summary>
        /// 红包类型
        /// </summary>
        public int MoneyType
        {
            set { _moneytype = value; }
            get { return _moneytype; }
        }
        /// <summary>
        /// 红包数量
        /// </summary>
        public int Count
        {
            set { _count = value; }
            get { return _count; }
        }
        /// <summary>
        /// 消耗数量
        /// </summary>
        public int TakeCount
        {
            set { _takecount = value; }
            get { return _takecount; }
        }
        /// <summary>
        /// 单个金额
        /// </summary>
        public float OneMoney
        {
            set { _onemoney = value; }
            get { return _onemoney; }
        }
        /// <summary>
        /// 总金额
        /// </summary>
        public float AllMoney
        {
            set { _allmoney = value; }
            get { return _allmoney; }
        }
        /// <summary>
        /// 消耗金额
        /// </summary>
        public float TakeMoney
        {
            set { _takemoney = value; }
            get { return _takemoney; }
        }
        /// <summary>
        /// 领奖方式
        /// </summary>
        public int PrizeType
        {
            set { _prizetype = value; }
            get { return _prizetype; }
        }
        /// <summary>
        /// 投放范围  1.选择地区  2.指定方位
        /// </summary>
        public int Range
        {
            set { _range = value; }
            get { return _range; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string Province
        {
            set { _province = value; }
            get { return _province; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string City
        {
            set { _city = value; }
            get { return _city; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string Area
        {
            set { _area = value; }
            get { return _area; }
        }
        /// <summary>
        /// 多少米以内
        /// </summary>
        public float Metre
        {
            set { _metre = value; }
            get { return _metre; }
        }
        /// <summary>
        /// 
        /// </summary>
        public double Lat
        {
            set { _lat = value; }
            get { return _lat; }
        }
        /// <summary>
        /// 
        /// </summary>
        public double Lng
        {
            set { _lng = value; }
            get { return _lng; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string Address
        {
            set { _address = value; }
            get { return _address; }
        }
        /// <summary>
        /// 状态：  1.投放中   2.已暂停    3.已结束   4.管理员暂停
        /// </summary>
        public int State
        {
            set { _state = value; }
            get { return _state; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int ClickCount
        {
            set { _clickcount = value; }
            get { return _clickcount; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int ShareCount
        {
            set { _sharecount = value; }
            get { return _sharecount; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int PraiseCount
        {
            set { _praisecount = value; }
            get { return _praisecount; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string LinkText
        {
            set { _linktext = value; }
            get { return _linktext; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int Degree
        {
            set { _degree = value; }
            get { return _degree; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int Flag
        {
            set { _flag = value; }
            get { return _flag; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int IsAuto
        {
            set { _isauto = value; }
            get { return _isauto; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int PrizeCount
        {
            set { _prizecount = value; }
            get { return _prizecount; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int ActiveType
        {
            set { _activetype = value; }
            get { return _activetype; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int NeedCount
        {
            set { _needcount = value; }
            get { return _needcount; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string PrizeImg
        {
            set { _prizeimg = value; }
            get { return _prizeimg; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string SkipLink
        {
            set { _skiplink = value; }
            get { return _skiplink; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int GiftCount
        {
            set { _giftcount = value; }
            get { return _giftcount; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int TakeGiftCount
        {
            set { _takegiftcount = value; }
            get { return _takegiftcount; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string WeiXin
        {
            set { _weixin = value; }
            get { return _weixin; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int Sex
        {
            set { _sex = value; }
            get { return _sex; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string Keyword
        {
            set { _keyword = value; }
            get { return _keyword; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int ShowOver
        {
            set { _showover = value; }
            get { return _showover; }
        }
        /// <summary>
        /// 
        /// </summary>
        public DateTime CreateDate
        {
            set { _createdate = value; }
            get { return _createdate; }
        }
        #endregion Model
    }
}
